package com.zcxy.mybatis.util.bean;

import com.zcxy.mybatis.util.enums.FieldCollectionType;
import com.zcxy.mybatis.util.enums.RelationType;
import lombok.Data;

import java.util.List;

/**
 * @author zcc
 * @version 1.0.0
 * @ClassName Relation.java
 * @Description TODO
 * @createTime 2020年05月27日 13:38:00
 */
@Data
public class Relation {
    //关联类型
    private RelationType relationType;
    //映射实体数据库对象
    private Class mapperClazz;

    //映射实体的查询接口
    private Class mapper;

    //属性实体
    private Class entityClazz;
    //集合类型
    private FieldCollectionType fieldCollectionType;

    private List<JoinColumnen> joinColumnens;

    private List<InverseJoinColumnen> inverseJoinColumns;

    private String filedName;

    private String tableId;

    private JoinTableEn joinTableEn;


}
